<%@ page import="com.plan.Event" %>



<div class="fieldcontain ${hasErrors(bean: eventInstance, field: 'dataType', 'error')} ">
	<label for="dataType">
		<g:message code="event.dataType.label" default="Data Type" />
		
	</label>
	<g:textField name="dataType" maxlength="50" value="${eventInstance?.dataType}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: eventInstance, field: 'name', 'error')} ">
	<label for="name">
		<g:message code="event.name.label" default="Name" />
		
	</label>
	<g:textField name="name" maxlength="50" value="${eventInstance?.name}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: eventInstance, field: 'unit', 'error')} ">
	<label for="unit">
		<g:message code="event.unit.label" default="Unit" />
		
	</label>
	<g:textField name="unit" maxlength="30" value="${eventInstance?.unit}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: eventInstance, field: 'remark', 'error')} ">
	<label for="remark">
		<g:message code="event.remark.label" default="Remark" />
		
	</label>
	<g:textArea name="remark" cols="40" rows="5" maxlength="500" value="${eventInstance?.remark}"/>
</div>

